import {transfer} from "./axiosApi";

//修改时必须：uuid name 勾
export function addBusiness(data) {
    return transfer({
        url: "/BusinessType/add",
        method: 'post',
        data
    })
}
export function updateBusiness(data) {
    return transfer({
        url: "/BusinessType/update",
        method: 'post',
        data
    })
}

export function delBusiness(params) {
    return transfer({
        url: "/BusinessType/del",
        method: 'post',
        params
    })
}

export function findAllBusiness(data) {
    return transfer({
        url: "/BusinessType/findAll",
        method: 'post',
        data
    })
}

export function pageBusiness(data) {
    return transfer({
        url: "/BusinessType/page",
        method: 'post',
        data
    })
}